package com.wwwarehouse.taskcenter.bean.job_point;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Jackie on 2017/10/27.
 * 维度数据
 */

public class DimensionBean implements Serializable {
    private int resId;
    private String name;
    private boolean isFinish;

    /**
     * start : {"type":"CATEGORY","list":[{"value":"工作台","key":"2352525346"}]}
     * end : {"type":"CATEGORY","list":[{"value":"工作台","key":"7812312312"}]}
     */

    private StartBean start;  //开始值
    private EndBean end;      //结束值


    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isFinish() {
        return isFinish;
    }

    public void setFinish(boolean isFinish) {
        this.isFinish = isFinish;
    }

    public StartBean getStart() {
        return start;
    }

    public void setStart(StartBean start) {
        this.start = start;
    }

    public EndBean getEnd() {
        return end;
    }

    public void setEnd(EndBean end) {
        this.end = end;
    }

    public static class StartBean implements Serializable {
        private String type;
        private List<ListBean> list;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable {
            private String value;
            private String key;

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }
        }
    }

    public static class EndBean implements Serializable {
        private String type;
        private List<ListBean> list;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable {
            private String value;
            private String key;

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }
        }
    }
}
